﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 高管订单流程主表
    /// </summary>
    [SugarTable("FrameOrderSenior")]
    public class FrameOrderSenior
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid SeniorID { get; set; }

        /// <summary>
        /// 实例Id
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 流程主题
        /// </summary>
        public string ProcessTopic { get; set; }

        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 发起人名称
        /// </summary>
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 流程是否结束
        /// </summary>
        public bool? IsEnd { get; set; }

        /// <summary>
        /// 申请人工号
        /// </summary>
        public string ApplyNumber { get; set; }

        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplyName { get; set; }

        /// <summary>
        /// 单据申请类型
        /// </summary>
        public string DocApplyType { get; set; }

        /// <summary>
        /// 复制原流程编号
        /// </summary>
        public string OldinstanceNumber { get; set; }

        /// <summary>
        /// 申请人职级
        /// </summary>
        public string ApplyerRank { get; set; }

        /// <summary>
        /// 人事范围
        /// </summary>
        public string ScopePersonnel { get; set; }

        /// <summary>
        /// 申请人职称
        /// </summary>
        public string ApplyerTitle { get; set; }

        /// <summary>
        /// 岗位
        /// </summary>
        public string ApplyerJob { get; set; }

        /// <summary>
        /// JsonData数据
        /// </summary>
        public string JsonData { get; set; }
    }
}